set(SWIFTDRIVER_EXPORTS_FILE ${CMAKE_CURRENT_BINARY_DIR}/SwiftDriverExports.cmake)

configure_file(SwiftDriverConfig.cmake.in
  ${CMAKE_CURRENT_BINARY_DIR}/SwiftDriverConfig.cmake)

get_property(SWIFTDRIVER_EXPORTS GLOBAL PROPERTY SWIFTDRIVER_EXPORTS)
export(TARGETS ${SWIFTDRIVER_EXPORTS}
  FILE ${SWIFTDRIVER_EXPORTS_FILE})
